package com.dao;

import com.entity.Teacher;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Version: V1.0    <br/>
 * Datetime:   2022/5/14 7:53   <br/>
 * Description: ${DES}
 *
 * @author: chen
 */
@Mapper
public interface TeacherMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Teacher record);

    int insertSelective(Teacher record);

    Teacher selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Teacher record);

    int updateByPrimaryKey(Teacher record);

    /**
     * 查询所有老师
     */
    List<Teacher> selectAll();
}